package com.example.demo.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.io.Serializable;

/**
 * <p>
 * 商品类型
 * </p>
 *
 * @author Fyly
 * @since 2019-04-12
 */
public class Jshop_goods_type implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 类型名称
     */
    @TableField("name")
    private String name;
    /**
     * 参数序列号存储 array(参数组名=>array('参数1','参数二'))
     */
    @TableField("params")
    private String params;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    @Override
    public String toString() {
        return "Jshop_goods_type{" +
        "id=" + id +
        ", name=" + name +
        ", params=" + params +
        "}";
    }
}
